package spring.demo.service.impl;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import spring.demo.service.ServiceDemoIntf;

@Service("old")
@Primary
public class ServiceDemoIntfImpl1 implements ServiceDemoIntf {

    @Override
    public void Hello() {
        System.out.println("IMPL1");
    }
}
